In This Topic
Sets the print page range.
The array shall contain an even number of integers to be interpreted in pairs, with each pair specifying the first and last pages in a sub-range of pages to be printed.The first page of the PDF file shall be denoted by 1.
Syntax
public void setPrintPageRange(
int[]
)
|
Parameters
- printPageRange
- The page numbers used to initialize the print dialogue box when the document is printed.
Exceptions
| Exception | Description |
| java.lang.IllegalArgumentException | When printPageRange has an odd number of elements. |
See Also